package com.rudolphliu.service;

import com.rudolphliu.dao.UsersMapper;
import com.rudolphliu.entity.Users;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UsersService {

    @Autowired
    private UsersMapper usersMapper;

    public Users selectusermapper(){
       Users user =  usersMapper.selectByPrimaryKey("111");
        System.out.println(user);
       return user;
    }
}
